package com.dao;

import com.entity.MoneytobankInfo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface ZzmDao {

    List<MoneytobankInfo> findWithdraw(@Param("page") Integer page, @Param("length") Integer length);

    int findRefundRecordCount();

    int updateWithdrawState(@Param("id") Integer id,@Param("type")Integer type);

    int findorder();

    int updateGoldPay(@Param("userId")Integer userId, @Param("discountMoney")BigDecimal discountMoney);
}
